package com.linksfield.topup.entity.interfaces.login.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 点击“确认修改”实现修改密码：
 * request：前端 RequestConfirmChangePwd 和 token访问
 * response：ResultDataDto
 *
 * @author: lm
 * @date: 2019-11-21 15:40
 */

@Data
public class RequestConfirmChangePwd implements Serializable {

    private static final long serialVersionUID = -188746161937764602L;

    @ApiModelProperty(value = "接口业务类型。此字段不可传空字符串 ", example = "login", dataType = "String", allowEmptyValue = false)
    private String tradeType;

    @ApiModelProperty(value = "中英文请求标志：cn/en。此字段不可传空字符串 ", example = "cn", dataType = "String", allowEmptyValue = false)
    private String lang;

    @ApiModelProperty(value = "定义接口的请求版本，本次接口值：1.0。此字段不可传空字符串 ", example = "1.0", dataType = "String", allowEmptyValue = false)
    private String version;

    @ApiModelProperty(value = "企业唯一编码。此字段不可传空字符串 ", example = "P000270", dataType = "String", allowEmptyValue = false)
    private String partnerCode;

    @ApiModelProperty(value = "角色：管理员是1；普通用户是2。此字段不可传空字符串", example = "2", dataType = "String", allowEmptyValue = false)
    private String rolesId;

    @ApiModelProperty(value = "用户账户。此字段不可传空字符串", example = "admin", dataType = "String", allowEmptyValue = false)
    private String account;

    @ApiModelProperty(value = "旧密码。此字段不可传空字符串", example = "admin01", dataType = "String", allowEmptyValue = false)
    private String oldPassword;

    @ApiModelProperty(value = "新密码。此字段不可传空字符串", example = "admin01", dataType = "String", allowEmptyValue = false)
    private String newPassword;
}
